package com.wyl.search.bean;

/**
 * 
 * @className: SearchMessageBean
 * @date: 2016年5月10日 上午9:37:01
 * @author sunkxu
 * @version 0.1
 * @since JDK 1.8
 */
public class SearchMessageBean {
	//执行查询SQL
	private String sql;
	
	//每页显示记录条数
	public static  int pageSize=10; 
	
	//显示可以预见的页数， 如pageNoListSize=5显示： 上一页 {1 2 3 4 5} 下一页 
	private int pageNoListSize=5;
	
	//提交表单的内容FORM
	private String formName;
	
	//页面显示内容的目标
	private String targetDivName;
	
		
	public SearchMessageBean() {
		super();
	}

	public SearchMessageBean(String sql, int pageSize, int pageNoListSize,
			String formName, String targetDivName) {
		super();
		this.sql = sql;
		this.pageSize = pageSize;
		this.pageNoListSize = pageNoListSize;
		this.formName = formName;
		this.targetDivName = targetDivName;
	}
	
	public String getFormName() {
		return formName;
	}
	public void setFormName(String formName) {
		this.formName = formName;
	}
	public String getTargetDivName() {
		return targetDivName;
	}
	public void setTargetDivName(String targetDivName) {
		this.targetDivName = targetDivName;
	}
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}

	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPageNoListSize() {
		return pageNoListSize;
	}
	public void setPageNoListSize(int pageNoListSize) {
		this.pageNoListSize = pageNoListSize;
	}
	
}
